]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
polkitAgent: Use wiggle effect to inform about wrong password or problem
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 20 Jan 2020 13:56:04 +0000 (14:56 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 1 Feb 2020 07:06:31 +0000 (08:06 +0100)
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/942

js/ui/components/polkitAgent.js

index cf583823a7c5aad6bb274f3cd8be4a6f8b9c9292..2e154ff99a1d4ede3cc0cba580281b2948ba01c2 100644 (file)
@@ -9,6 +9,7 @@ const Main = imports.ui.main;
 const ModalDialog = imports.ui.modalDialog;
 const ShellEntry = imports.ui.shellEntry;
 const UserWidget = imports.ui.userWidget;
+const Util = imports.misc.util;
 
 const DialogMode = {
     AUTH: 0,
@@ -251,6 +252,8 @@ var AuthenticationDialog = GObject.registerClass({
                 this._errorMessageLabel.show();
                 this._infoMessageLabel.hide();
                 this._nullMessageLabel.hide();
+
+                Util.wiggle(this._passwordEntry);
             }
 
             /* Try and authenticate again */